import viteCompression from 'vite-plugin-compression';

export function gzipCompressionPlugin() {
  const plugin = viteCompression({
    verbose: true,
    disable: false,
    threshold: 10240,
    algorithm: 'gzip',
    ext: '.gz',
  });
  return plugin;
}
